using FreeSql.DataAnnotations;
using Newtonsoft.Json;

namespace FreeSql.Model
{

    [JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
    public partial class Admin
    {

        [JsonProperty, Column(IsPrimary = true,IsIdentity =true)]
        public int Id { get; set; }

        [JsonProperty, Column(StringLength = -2)]
        public string UserName { get; set; }

        [JsonProperty, Column(StringLength = -2)]
        public string Password { get; set; }

        [JsonProperty, Column(StringLength = -2)]
        public string LoginTime { get; set; }

        [JsonProperty, Column(StringLength = -2)]
        public string LoginIp { get; set; }

        [JsonProperty, Column(StringLength = -2)]
        public string RealName { get; set; }

    }

}
